Bookly\Lib\Entities\Payment C

Total Complexity 110
Dependencies 13
Dependents 28
Total lines 846
Lines of code 373
Logical lines of code 177
Comment lines 263
Methods 48
Properties 23

Methods 48

Method Rating Maintainability Complexity Lines of code
getPaymentData()
B
35 23 75
typeToString()
A
49 14 32
save()
A
48 9 30
setCartInfo()
S
53 6 24
statusToString()
S
57 5 18
getDetailsData()
S
65 4 8
paymentInfo()
S
59 3 13
typeToProduct()
S
64 3 10
getTypes()
S
61 1 17
typeToImage()
S
64 2 9
getInvoiceNumber()
S
79 2 3
setDetailsFromOrder()
S
65 2 8
getCouponId()
S
82 1 3
setCouponId()
S
77 1 4
getGiftCardId()
S
82 1 3
setGiftCardId()
S
77 1 4
getType()
S
82 1 3
setType()
S
77 1 4
getTotal()
S
82 1 3
setTotal()
S
77 1 4
getTax()
S
82 1 3
setTax()
S
77 1 4
getPaid()
S
82 1 3
setPaid()
S
77 1 4
getChildPaid()
S
82 1 3
setChildPaid()
S
77 1 4
getGatewayPriceCorrection()
S
82 1 3
setGatewayPriceCorrection()
S
77 1 4
getPaidType()
S
82 1 3
setPaidType()
S
77 1 4
getStatus()
S
82 1 3
setStatus()
S
77 1 4
getToken()
S
82 1 3
setToken()
S
77 1 4
getOrderId()
S
82 1 3
setOrderId()
S
77 1 4
getCustomerId()
S
82 1 3
setCustomerId()
S
77 1 4
getParentId()
S
82 1 3
setParentId()
S
77 1 4
getInvoiceId()
S
82 1 3
setInvoiceId()
S
77 1 4
getRefId()
S
82 1 3
setRefId()
S
77 1 4
getCreatedAt()
S
82 1 3
setCreatedAt()
S
77 1 4
getUpdatedAt()
S
82 1 3
setUpdatedAt()
S
77 1 4